﻿using System;
using System.Collections.Generic;

using SBPweb.PlAzureNet.Shared.Library.Actors;

namespace SBPweb.PlAzureNet.Shared.Library.Operations
{

    public interface ILeagueDataService
    {

        IEnumerable<ILeague> FetchAllAdHocLeaguesByPersonId(long personId);

        ILeague FetchOneLeagueByExactLocation(ILocation location);

        IEnumerable<ILeague> FetchAllLeaguesNearByLocation(ILocation location);

        ILeague FetchOneLeagueById(long id);

        ILeague FetchOneLeagueByName(string name, string cultureCode);

    }

}